.menu {
  width: 100%;
  padding-top: 30px;
  position: relative;
  font-family: "宋体";
  font-size: 1.5em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.menu-list {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 160px;
  height: 40px;
  color: black;
  line-height: 40px;
  text-align: center;
  border-radius: 5px;
  margin-top: 20px;
  background: transparent;
}
.active{
  background: rgba(219, 217, 217, 0.5);
}
.menu-list svg {
  height: 40px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.menu-list rect {
  fill: none;
  stroke: #ccc;
  stroke-width: 3;
  stroke-dasharray: 422, 0;
  transition: all 1s linear;
}

.menu-list:hover {
  font-weight: bold;
  letter-spacing: 1px;
}

.menu-list:hover rect {
  stroke-width: 5;
  stroke-dasharray: 15, 310;
  stroke-dashoffset: 48;
  transition: all 1.35s cubic-bezier(0.19, 1, 0.22, 1);
}
